package com.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.domain.DTO.ScheduleDTO;
import com.hospital.domain.pojo.Schedule;
import com.hospital.domain.utils.Result;

public interface ScheduleService extends IService<Schedule> {
    Result setSchedule(Integer dId, Integer depId, String date, String time);
    
    Result queryAllSchedules();
    
    Result querySchedulesByDoctor(Integer dId);
    
    Result updateSchedule(ScheduleDTO scheduleDTO);
    
    Result deleteSchedule(Integer sId);
    
    // 新增带医生信息的查询方法
    Result queryAllSchedulesWithDoctorInfo();
    
    Result querySchedulesByDoctorWithInfo(Integer dId);
}
